net.sf.webphotos.util.legacy
Class CacheFTPTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by net.sf.webphotos.util.legacy.MassaTesteClassesFTP
              extended by net.sf.webphotos.util.legacy.CacheFTPTest
All Implemented Interfaces:
junit.framework.Test

public class CacheFTPTest
extends MassaTesteClassesFTP

Author:
Guilherme

Field Summary
 
Fields inherited from class net.sf.webphotos.util.legacy.MassaTesteClassesFTP
comandosCertos, comandosErrados, comandosRedundantes
 
Constructor Summary
CacheFTPTest(String testName)
          
 
Method Summary
protected  void setUp()
          Alimenta os arrays com seus dados antes de realizar os testes.
protected  void tearDown()
          
 void testAdd()
          Teste do método add, da classe webfotos.util.CacheFTP.
 void testAddCommand()
          Teste do método addCommand, da classe webfotos.util.CacheFTP.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheFTPTest

public CacheFTPTest(String testName)

Method Detail

setUp

protected void setUp()
              throws Exception
Alimenta os arrays com seus dados antes de realizar os testes.

Overrides:
setUp in class MassaTesteClassesFTP
Throws:
Exception - Lança para o programa de teste tratar todas as excessões nessa etapa.

tearDown

protected void tearDown()
                 throws Exception

Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testAddCommand

public void testAddCommand()
Teste do método addCommand, da classe webfotos.util.CacheFTP. Verifica se todos e apenas comandos válidos são inseridos.


testAdd

public void testAdd()
Teste do método add, da classe webfotos.util.CacheFTP.



Copyright © 2008-2012. All Rights Reserved.